<?$this->_extends("_layouts/index_layout");?>
<?$this->_block("contents");?>

<div class="main colorbg1 mt10 line30"><span class="color2 ml10">您现在的位置：</span><a href="<?php echo url('index');?>">首页</a> <?php echo $location;?></div>

<div class="main mt10">

<div class="border1 width680 fleft" style="min-height: 700px;">
<div class="title"><?php echo $newstype['type_name'];?></div>
<div class="color5 mt20 mb20 ml10 mr10">
<?php echo $newstype['content'];?>
</div>

<div class="color4 ml20 fleft mb20">
    <?php
      if(!empty($proData)){
      echo '上一篇：<a href="'.url('/newsread', array('newsid'=>$proData['id'])).'" title="'.$proData['title'].'">'.Helper_Util::utfSubStr(stripslashes($proData['title']),46,'').'</a>'; 
    }
  ?>
    </div>
    <div class="color4 mr20 fright mb20">
    <?php
      if(!empty($nextData)){
      echo '下一篇：<a href="'.url('/newsread', array('newsid'=>$nextData['id'])).'" title="'.$nextData['title'].'">'.Helper_Util::utfSubStr(stripslashes($nextData['title']),46,'').'</a>';  
    }
  ?>
    </div>
<div class="clear"></div>
</div>

<?php 
//dump($menu_list);
//dump($menu_list_title);
foreach ($menu_list as $key => $value) {
?>
<div class="border1 width270 fright mt10">
<div class="colorbg3 line30"><?=$value['type_name']?></div>
<ul class="xw2">
  <?php foreach ($menu_list_title as $k => $v) {
    if($v['type_id'] == $value['id']){
  ?>
<li><a href="<?=url('index/newsread', array('newsid'=>$v['id']))?>" target="_blank" title="<?php echo $v['title'];?>"><? echo Helper_Util::utfSubStr(stripslashes($v['title']),23)?></a> <span><?=date('Y-m-d', $v['release_date'])?></span> <br/></li>
<?php }}?>
</ul>
</div>
<?php }?>

<div class="clear"> </div>
</div>

<?$this->_endblock();?>
